import { HashRouter as Router, Route, Switch } from "react-router-dom";
import { Provider } from "react-redux";

// import logo from "./logo.svg";
// import "./App.css";

import Home from "./views/Home";
import About from "./views/About";
import Store from "./views/Store";

import store from "./store";

function App() {
  return (
    <Provider store={store}>
      <Router>
        <Switch>
          <Route path="/" exact component={Home}></Route>
          <Route path="/about" exact component={About}></Route>
          <Route path="/store" component={Store}></Route>
        </Switch>
      </Router>
    </Provider>
  );
}

export default App;
